package top.lyc829.zzl_android.logic.bean;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * @Author lyc
 * @create 2021-03-23 08:30
 */
public class ActivityBean implements Serializable {


    /**
     * name : 活动1
     * baseId : 123
     * number : 20
     * beginDate : 2021-03-12
     * endDate : 2021-04-11
     * text : 简介
     */
    @SerializedName("id")
    private Integer id;
    @SerializedName(value = "act_name", alternate = {"name"})
    private String name;
    @SerializedName(value = "base_id", alternate = {"baseId"})
    private Integer baseId;
    @SerializedName("number")
    private Integer number;
    @SerializedName(value = "begin_data", alternate = {"beginDate"})
    private String beginDate;
    @SerializedName(value = "end_data", alternate = {"endDate"})
    private String endDate;
    @SerializedName(value = "is_finish", alternate = {"isFinish"})
    private Integer isDelete;

    private transient String baseName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getBaseId() {
        return baseId;
    }

    public void setBaseId(Integer baseId) {
        this.baseId = baseId;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(String beginDate) {
        this.beginDate = beginDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }


    public String getBaseName() {
        return baseName;
    }

    public void setBaseName(String baseName) {
        this.baseName = baseName;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    public String toString() {
        return "ActivityBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", baseId=" + baseId +
                ", number=" + number +
                ", beginDate='" + beginDate + '\'' +
                ", endDate='" + endDate + '\'' +
                ", isDelete=" + isDelete +
                ", baseName='" + baseName + '\'' +
                '}';
    }
}
